projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8e3f62
)
ostbuild: Sort keys in JSON snapshot
author
Colin Walters
<walters@verbum.org>
Tue, 28 Feb 2012 00:28:13 +0000
(19:28 -0500)
committer
Colin Walters
<walters@verbum.org>
Tue, 13 Mar 2012 14:39:25 +0000
(10:39 -0400)
src/ostbuild/pyostbuild/builtin_resolve.py
patch
|
blob
|
history
diff --git
a/src/ostbuild/pyostbuild/builtin_resolve.py
b/src/ostbuild/pyostbuild/builtin_resolve.py
index e6f680cffc4849c9185384a42b8b33daeb08d983..224f1a274ad9a45ea588ce4ea8d23baf00543222 100755
(executable)
--- a/
src/ostbuild/pyostbuild/builtin_resolve.py
+++ b/
src/ostbuild/pyostbuild/builtin_resolve.py
@@
-223,9
+223,9
@@
class OstbuildResolve(builtins.Builtin):
patch)
dest = os.path.join(patchdir, patch)
shutil.copy(src, dest)
-
+
f = open(out_snapshot, 'w')
- json.dump(self.manifest, f, indent=4)
+ json.dump(self.manifest, f, indent=4
, sort_keys=True
)
f.close()
print "Created: %s, %d patches" % (out_snapshot, len(all_patches.keys()))